package com.fxkj.cloud.drms.application.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/4/7 15:33
 */
@Schema(name = "告警历史视图")
public record AlarmHistoryModelView(
        @Schema(description = "告警历史id")
        UUID id,
        @Schema(description = "设备序列号")
        String deviceSerialNo,
        @Schema(description = "设备id")
        UUID deviceId,
        @Schema(description = "设备名称")
        String deviceName,
        @Schema(description = "产品id")
        UUID productId,
        @Schema(description = "告警产生时间")
        Long startTs,
        @Schema(description = "告警结束时间")
        Long endTs,
        @Schema(description = "是否关闭")
        Boolean closed,
        @Schema(description = "告警内容")
        String alarmText,
        @Schema(description = "告警级别")
        Integer alarmLevel,
        @Schema(description = "属性编码")
        String alarmCode,
        @Schema(description = "属性值")
        String alarmValue,
        @Schema(description = "告警名称")
        String alarmName
) {
}
